package cn.cjj.gulimall.order.feign;

import cn.cjj.gulimall.order.vo.SpuInfoVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author CuiJunJie
 * @create 2021/7/9-20:19
 */
@FeignClient("gulimall-product")
public interface ProductFeignService {
    @RequestMapping("/product/spuinfo/spuInfo/{skuId}")
    public SpuInfoVo getSpuInfoBySkuId(@PathVariable("skuId") Long skuId);
}
